<?php

/**
 * Class used to interact with roles returned by Corporation EVE API.
 *
 * @package eveApi
 *
 */

/**
 * Include the file that provides the eveapi class
 *
 */
require_once('eveapi.class.php');

/**
 * class Corp
 * @package eveApi
 *
 */
class Corp extends eveapi{

	/**
	 * getAccountBalance
	 * Gets the Corporation account balance
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getAccountBalance(){
		$path = "/corp/AccountBalance.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getAssetList
	 * Gets the Corporation asset list
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getAssetList(){
		$path = "/corp/AssetList.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getContactList
	 * Gets the Corporation contact list
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getContactList(){
		$path = "/corp/ContactList.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getContainerLog
	 * Gets the Corporation container log
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getContainerLog(){
		$path = "/corp/ContainerLog.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getCorporationSheet
	 * Gets the Corporation sheet
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getCorporationSheet(){
		$path = "/corp/CorporationSheet.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getFactionalWarfareStatistics
	 * Gets the Factional Warfare Statistics
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getFactionalWarfareStatistics(){
		$path = "/corp/FacWarStats.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getIndustryJobs
	 * Gets the corporation industry jobs
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getIndustryJobs(){
		$path = "/corp/IndustryJobs.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getKillLog
	 * Gets the corp kill log
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getKillLog(){
		$path = "/corp/KillLog.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMarketOrders
	 * Gets the Corp market orders
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMarketOrders(){
		$path = "/corp/MarketOrders.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMedals
	 * Gets the corporation medals
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMedals(){
		$path = "/corp/Medals.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMemberMedals
	 * Gets the corporation member medals
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMemberMedals(){
		$path = "/corp/MemberMedals.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMemberSecurity
	 * Gets the Factional Warfare Statistics
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMemberSecurity(){
		$path = "/corp/MemberSecurity.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMemberSecurityLog
	 * Gets the Member security log
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMemberSecurityLog(){
		$path = "/corp/MemberSecurityLog.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getMemberTracking
	 * Gets the Factional Warfare Statistics
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getMemberTracking(){
		$path = "/corp/MemberTracking.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getStandings
	 * Gets the Corporation standings
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getStandings(){
		$path = "/corp/Standings.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getOutpostList
	 * Gets the corporation's outposts
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getOutpostList(){
		$path = "/corp/OutpostList.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getOutpostServiceDetail
	 * Gets the outpost service detail
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getOutpostServiceDetail(){
		$path = "/corp/OutpostServiceDetail.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getStarbaseDetail
	 * Gets the Starbase (POS) detail
	 * 
	 * @param string itemid
	 *
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getStarbaseDetail(){
		$path = "/corp/StarbaseDetail.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getStarbaseList
	 * Gets the Starbase (POS) list
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getStarbaseList(){
		$path = "/corp/StarbaseList.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getShareHolders
	 * Gets the Characters shares in the corporation
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getShareholders(){
		$path = "/corp/Shareholders.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getTitles
	 * Gets the corporation titles
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getTitles(){
		$path = "/corp/Titles.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getWalletJournal
	 * Gets the wallet activity for all 7 wallets
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getWalletJournal(){
		$path = "/corp/WalletJournal.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	/**
	 * getWalletTransactions
	 * Gets the information found on the in-game Transactions tab
	 * 
	 * @return mixed SimpleXMLObject generated from API
	 *
	 */
	function getWalletTransactions(){
		$path = "/corp/WalletTransactions.xml.aspx";
		return $this->retreiveXML($path);
	}
	
	
}

?>
